<%--
  Created by IntelliJ IDEA.
  User: 橙子柚子。
  Date: 2018/4/3
  Time: 21:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>new document</title>
</head>
<body>
  <span style="color: red;font-weight: bold">
  <%if (request.getAttribute("err")  !=null)
     {
         out.println(request.getAttribute("err")+"<br/>");
     }
   %>
</span>
  <form id="form1" method="post" action="sl">
    用户名：<input type="username" name="username" /><br/>
    密&nbsp;&nbsp;码:<input type="password" name="password"/><br/>
    <input type="submit" value="提交"><br/>
  </form>
</body>
</html>
